package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.template1.DestinationTemplate;

/**
 * Created by Administrator on 2019/7/15.
 */
public interface IDestinationSearchService {
    /**
     * 创建一个索引,并且初始化映射
     */
    void creatIndex();

    void save(DestinationTemplate template);

    DestinationTemplate queryDestByName(String name);
}
